module.exports.redirect = function(ctx, url, msg='加载中...'){
    ctx.body = `<html><head><title>跳转</title><noscript><meta http-equiv="refresh" content="0; url=${url}"></noscript><script>window.location.href = "${url}";</script></head><body>${msg}</body></html>`
}